package com.kim.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.kim.common.base.Page;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * user : 用户信息表
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class User extends Page implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键 : id,  主键id
     */
    private Integer id;

    /**
     * uid,  用户id
     */
    private String uid;

    /**
     * nick_name,  昵称
     */
    private String nickName;

    /**
     * mobile,  手机号
     */
    private String mobile;

    /**
     * password 密码
     */
    @TableField("`password`")
    private String password;

    /**
     * name,  姓名
     */
    @TableField("`name`")
    private String name;

    /**
     * avatar,  头像Url
     */
    private String avatar;

    /**
     * gender,  性别[99-其他,0-男,1-女]
     */
    private String gender;

    /**
     * del_flag,  删除标记[0-不删,1-删除]
     */
    private String delFlag;


}
